package cn.edu.ujn.lab3.service;

import java.util.List;

import cn.edu.ujn.lab3.dao.BaseDict;
import cn.edu.ujn.lab3.utils.Page;

/**
 * 数据字典Service接口
 */
public interface BaseDictService {
	//根据类别代码查询数据字典
	public List<BaseDict> findBaseDictByTypeCode(String typecode);

    Page<BaseDict> findBaseDictList(Integer page, Integer rows,
                              String dictTypeCode, String dictTypeName,String dictItemName
    );

    List<BaseDict>selectList(BaseDict baseDict);

    int createBaseDicts(BaseDict baseDict);

    int updateBaseDict(BaseDict baseDict);

    int deleteBaseDict(String id);

    BaseDict getBaseDictById(String id);
}

